package com.glink.manage.dto.constructionwork;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
* @author  qiushaoshan
* @since 2025-01-08
*/
@ApiModel(value = "ConstructionWorkSiteGrantDTO对象", description = "施工工程-工程现场-授权")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ConstructionWorkSiteGrantDTO implements Serializable {

    private static final long serialVersionUID = 789507754834965652L;

    @ApiModelProperty(value = "工程现场ID")
    @NotBlank(message = "工程现场ID不能为空")
    private String objId;
    
    @ApiModelProperty(value = "授权码")
    @NotBlank(message = "授权码不能为空")
    private String grantCode;
}
